from django.conf.urls.defaults import *

urlpatterns = patterns('core.core_views',
    url('^requests/(?P<mode>.+)/(?P<sort_option>.+)/$', 'requests', name='requests'),
    url('^submit/$', 'submit', name='submit'),
    url('^details/(?P<request_id>.+)/$', 'request_details', name='details'),
)

urlpatterns += patterns('django_metatagging.views',
    url(r'^objects_with_tag/(?P<content_type>.+)/(?P<tag>.+)/$',  'objects_with_tag',  name='objects-with-tag'),
)

urlpatterns += patterns('core.core_views',
    url(r'^relevant_requests/(?P<user_id>.+)/$',  'relevant_requests',  name='community-relevant-requests'),
)